import 'package:get/get.dart';
import 'points_mall_view.dart';
import 'points_mall_logic.dart';
import '../product_detail/product_detail_view.dart';
import '../product_detail/product_detail_logic.dart';

class PointsMallRoutes {
  static const String pointsMall = '/points-mall';
  static const String productDetail = '/product-detail';

  static final List<GetPage> routes = [
    GetPage(
      name: pointsMall,
      page: () => const PointsMallView(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => PointsMallLogic());
      }),
    ),
    GetPage(
      name: productDetail,
      page: () => const ProductDetailView(),
      binding: BindingsBuilder(() {
        Get.lazyPut(() => ProductDetailLogic());
      }),
    ),
  ];
}
